<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en">
<!--<![endif]-->
	<head>
		<meta name="layout" content="aqvLayout2">
		<meta http-equiv="Content-type" content="text/html; charset=utf-8">
		<meta charset="utf-8"/>
		<title>A quien voto | Agregar un politico</title>
	</head>
	<body>

		<!-- SUBHEADER
		================================================== -->
		<div id="subheader">
			<div class="row">
				<div class="twelve columns">
					<p class="left">
						 Agregar un politico
					</p>
					<p class="right">
						 <g:link controller="politician" action="index">Lista de politicos</g:link>
					</p>
				</div>
			</div>
		</div>
		<div class="hr">
		</div>
		<div class="row">
		
			<!-- CONTACT FORM -->
			<div class="twelve columns">
				<div class="wrapcontact">
			
					<fieldset>
					
						<legend>Datos </legend>
						<g:hasErrors bean="${politicalPartyInstance}">
							<g:eachError bean="${politicalPartyInstance}" var="error">
								<div class="alert-box alert"><g:message error="${error}"/></div>
							</g:eachError>
						</g:hasErrors>
						
						<g:form url="[resource:politicalPartyInstance, action:'save']" >
							<g:render template="form"/>
							<g:submitButton name="create" class="button" value="${message(code: 'default.button.create.label', default: 'Crear')}" />
						</g:form>
						
					</fieldset>

				</div>
			</div>

		</div>
		<div class="hr">
		</div>

	</body>
</html>
